package com.ultrapower.bean;

import com.ultrapower.util.TransactionId;

public class DotBean {
	private final TransactionId transactionId;
	private final long acceptedTime;
	private final int elapsedTime;
	private final int exceptionCode;
	private final String agentId;

	public DotBean(TransactionId transactionId, long acceptedTime, int elapsedTime, int exceptionCode, String agentId) {
		super();
		this.transactionId = transactionId;
		this.acceptedTime = acceptedTime;
		this.elapsedTime = elapsedTime;
		this.exceptionCode = exceptionCode;
		this.agentId = agentId;
	}

	@Override
	public String toString() {
		return "DotBean [transactionId=" + transactionId + ", acceptedTime=" + acceptedTime + ", elapsedTime="
				+ elapsedTime + ", exceptionCode=" + exceptionCode + ", agentId=" + agentId +"]";
	}
}
